package com.xuan.service;
import com.xuan.dao.Order_DetailsDao;
import com.xuan.model.Order_details;
import java.util.List;
public class OrderService {
    private Order_DetailsDao dao = new Order_DetailsDao();

    public List<Order_details> getAll (int size, int page) {
        return dao.getAll(size,page);
    }

    public long getPageSize (int size) {
        return dao.getPageSize(size);
    }

    public boolean update(){
        return dao.update();
    }

}
